﻿using System;

class Program
{
    static void Main()
    {
        string binary = "10";
        int dec = Convert.ToInt32(binary, 2);
        Console.WriteLine(dec);
    }
}